package com.edu.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cj
 * @date 2018/11/22
 */

@ConfigurationProperties(prefix = "com.edu.demo")
public class DemoProperties {

    /**
     * 用户名
     */
    private String username;
    /**
     * 所要说的话
     */
    private String statement;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getStatement() {
        return statement;
    }

    public void setStatement(String statement) {
        this.statement = statement;
    }
}
